﻿namespace Yuchen.NPA.Core.CompilerService.RegularExpression
{
    internal class EscapeNode : CharNode
    {
        public override NodeType Type { get; } = NodeType.Escape;

        internal EscapeNode(char c) : base(c)
        {
        }

        public override string ToString()
        {
            return $"\\{Char}";
        }
    }
}
